move xml tag utilities to xml_tag.cc (#960)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Tue, 27 Dec 2022 13:34:03 +0000 (06:34 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Dec 2022 13:34:03 +0000 (06:34 -0700)
commita52b81e4ddba30bb2eed3b018b23ebb096511e6b
treeceb5d3a3ac77c29dac9c22790977d80060131b08
parente3fd7f726c12f5584eceda85567c9c48d012ae4e
move xml tag utilities to xml_tag.cc (#960)

* move xml tag utilities to xml_tag.cc

they are already declared in src/core/xmltag.h

* move xml_tag.cc to src/core, where it's h file is.

* move global xml_tag routines into class.

* make xml_next non-static.

* make xml_findnext non-static.

* make xml_findfirst non-static

* make xml_attribute non-static

* eliminate some shadowing

* rename XmlTag class.

* retire fs_xml_alloc.

* use QStringView with XmlTag.

* back off QStringView for xml_attribute for Qt 5.
CMakeLists.txt
gpx.cc
gpx.h
html.cc
kml.cc
src/core/xmltag.cc [new file with mode: 0644]
src/core/xmltag.h
text.cc
util.cc
xmltag.cc [deleted file]